package com.wlr.blog.web.common.vo;

import com.wlr.blog.web.common.entity.PageInfo;
import com.wlr.blog.web.common.entity.WebsiteConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lrwang
 * @version 1.0
 * @date 2022/11/6 18:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "网站配置类")
public class WebInitInfoVo {
    /**
     * 文章总数
     */
    @ApiModelProperty(value = "articleCount")
    private int articleCount;
    /**
     * 分类总数
     */
    @ApiModelProperty(value = "categoryCount")
    private int categoryCount;
    /**
     * 总访问数
     */
    @ApiModelProperty(value = "viewsCount")
    private long viewsCount;
    /**
     * 网站配置
     */
    @ApiModelProperty(value = "websiteConfig")
    private WebsiteConfig websiteConfig;
    /**
     * 页面信息
     */
    @ApiModelProperty(value = "pageList")
    private List<PageInfo> pageList;
}
